ActiveReports 12
IfNotNull<T,TR>(T,Func<T,TR>) Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.DataEngine.Extensions Namespace > FunctionalExtensions Class > IfNotNull Method : IfNotNull<T,TR>(T,Func<T,TR>) Method
Syntax
'Declaration
 
Public Overloads Shared Function IfNotNull
    (Of T As Class,
     TR)( _
   ByVal value As T, _
   ByVal selector As Func(Of T,TR) _
) As TR
public static TR IfNotNull<T,TR>( 
   T value,
   Func<T,TR> selector
)
where T: class

Parameters

value
selector

Type Parameters

T
TR
See Also

Reference

FunctionalExtensions Class
FunctionalExtensions Members
Overload List